package cn.compose.online.entity;

import java.io.Serializable;
import java.util.Date;

public class CodeHistory implements Serializable {
    private Long id;

    private String historyId;

    private String cerateUser;

    private Date createDate;

    private Integer status;

    private String inputData;

    private String mlCode;

    private String runCode;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getHistoryId() {
        return historyId;
    }

    public void setHistoryId(String historyId) {
        this.historyId = historyId;
    }

    public String getCerateUser() {
        return cerateUser;
    }

    public void setCerateUser(String cerateUser) {
        this.cerateUser = cerateUser == null ? null : cerateUser.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getInputData() {
        return inputData;
    }

    public void setInputData(String inputData) {
        this.inputData = inputData == null ? null : inputData.trim();
    }

    public String getMlCode() {
        return mlCode;
    }

    public void setMlCode(String mlCode) {
        this.mlCode = mlCode == null ? null : mlCode.trim();
    }

    public String getRunCode() {
        return runCode;
    }

    public void setRunCode(String runCode) {
        this.runCode = runCode == null ? null : runCode.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", historyId=").append(historyId);
        sb.append(", cerateUser=").append(cerateUser);
        sb.append(", createDate=").append(createDate);
        sb.append(", status=").append(status);
        sb.append(", inputData=").append(inputData);
        sb.append(", mlCode=").append(mlCode);
        sb.append(", runCode=").append(runCode);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}